package cc.ycws.core.old.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;

/**
  * <p>
  * 
  * </p>
  *
  * @author tutu
  * @since 2018-05-01
  */
public class Paytorecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 彩之云openid
     */
    private String openid;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 创建时间
     */
    private String establishtime;

    /**
     * 交易时间
     */
    private String tradingtime;

    /**
     * 支付方式
     */
    private String paymode;

    /**
     * 支付状态
     */
    private String paystate;

    /**
     * 订单号
     */
    private String ordernumber;

    /**
     * 交易金额
     */
    private BigDecimal money;

    /**
     * 总金额
     */
    private BigDecimal countmoney;

    public Integer getId() {
    return id;
    }

    public void setId(Integer id) {
    this.id = id;
    }
    public String getOpenid() {
    return openid;
    }

    public void setOpenid(String openid) {
    this.openid = openid;
    }
    public String getPhone() {
    return phone;
    }

    public void setPhone(String phone) {
    this.phone = phone;
    }
    public String getEstablishtime() {
    return establishtime;
    }

    public void setEstablishtime(String establishtime) {
    this.establishtime = establishtime;
    }
    public String getTradingtime() {
    return tradingtime;
    }

    public void setTradingtime(String tradingtime) {
    this.tradingtime = tradingtime;
    }
    public String getPaymode() {
    return paymode;
    }

    public void setPaymode(String paymode) {
    this.paymode = paymode;
    }
    public String getPaystate() {
    return paystate;
    }

    public void setPaystate(String paystate) {
    this.paystate = paystate;
    }
    public String getOrdernumber() {
    return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
    this.ordernumber = ordernumber;
    }
    public BigDecimal getMoney() {
    return money;
    }

    public void setMoney(BigDecimal money) {
    this.money = money;
    }
    public BigDecimal getCountmoney() {
    return countmoney;
    }

    public void setCountmoney(BigDecimal countmoney) {
    this.countmoney = countmoney;
    }

    @Override
    public String toString() {
        return "Paytorecord{" +
                "id=" + id +
                ", openid=" + openid +
                ", phone=" + phone +
                ", establishtime=" + establishtime +
                ", tradingtime=" + tradingtime +
                ", paymode=" + paymode +
                ", paystate=" + paystate +
                ", ordernumber=" + ordernumber +
                ", money=" + money +
                ", countmoney=" + countmoney +
        "}";
    }
}
